<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <script src="../js/vue.js"></script>
</head>
<body>
  <div id="root">
    <img v-bind:src="logoUrl" :title="myTitle" :xxx="xxx" alt="">
  </div>
  <script>
    const vm = new Vue({
      data: {
        logoUrl: 'https://v2.cn.vuejs.org/images/logo.svg',
        myTitle: '我是一张logo图标',
        xxx: 'abc'
      }
    })

    vm.$mount('#root')

    setTimeout(() => {
      vm.logoUrl = 'http://www.atguigu.com/images/index_new/logo.png'
      vm.myTitle = '尚硅谷'
      vm.xxx = 'yyy'
    }, 2000);
  </script>
</body>
</html>